#include "AnAdbCheckCallback.h"


AnAdbCheckCallback::AnAdbCheckCallback(AnMainwin *anMainwin) {
    mainWin = anMainwin;
}


void AnAdbCheckCallback::response(QJsonObject *an_response) {

    if (an_response->value(DATA).toObject().value(RESULT).toString() == SUCCEED) {
        adb_installed = 1;
        emit adbChecked();
        return;
    }


}
